home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / ARCHIVER / MPACK15 / MPACK.MAN next >
Encoding:
Text File  |  1996-12-16  |  2.3 KB  |  72 lines

  1.  
  2.  
  3.  
  4. MPACK(1)            UNIX Programmer's Manual             MPACK(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      mpack - pack a file in MIME format
  10.  
  11. SYNOPSIS
  12.      mpack [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [
  13.      -c content-type ] file address ...
  14.      mpack [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [
  15.      -c content-type ] -o outputfile file
  16.      mpack [ -s subject ] [ -d descriptionfile ] [ -m maxsize ] [
  17.      -c content-type ] -n newsgroups file
  18.  
  19. DESCRIPTION
  20.      The mpack program encodes the the named file in one or more
  21.      MIME messages.  The resulting messages are mailed to one or
  22.      more recipients, written to a named file or set of files, or
  23.      posted to a set of newsgroups.
  24.  
  25. OPTIONS
  26.      -s subject
  27.           Set the Subject header field to Subject.  By default,
  28.           mpack will prompt for the contents of the subject
  29.           header.
  30.  
  31.      -d descriptionfile
  32.           Include the contents of the file descriptionfile in an
  33.           introductory section at the beginning of the first gen-
  34.           erated message.
  35.  
  36.      -m maxsize
  37.           Split the message (if necessary) into partial messages,
  38.           each not exceeding maxsize characters.  The default
  39.           limit is the value of the SPLITSIZE environment vari-
  40.           able, or no limit if the environment variable does not
  41.           exist.  Specifying a maxsize of 0 means there is no
  42.           limit to the size of the generated message.
  43.  
  44.      -c content-type
  45.           Label the included file as being of MIME type content-
  46.           type, which must be a subtype of application, audio,
  47.           image, or video.  If this switch is not given, mpack
  48.           examines the file to determine its type.
  49.  
  50.      -o outputfile
  51.           Write the generated message to the file outputfile.  If
  52.           the message has to be split, the partial messages will
  53.           instead be written to the files outputfile.01, output-
  54.           file.02, etc.
  55.  
  56.      -n newsgroups
  57.           Post the generated message(s) to the comma-separated
  58.           netnews newsgroups.
  59.  
  60.      file Encode the named file.
  61.  
  62.      address ...
  63.           Mail the generated messages to the specified addresses.
  64.  
  65. ENVIRONMENT
  66.      TMPDIR
  67.           Directory to store temporary files.  Default is /usr/tmp.
  68.  
  69.      SPLITSIZE
  70.           Default value of the -m switch.
  71.  
  72.